// 所有关于主页的接口
import request from '../utils/request'
// 获取所有banner和导航数据的接口
export const getIndexApi = function () {
  return request("/Home/IndexSep/indexPC", {}, "post")
}
// 获取推荐列表的数据data  {p:1} p 代表页码
export const getRecommedApi = function (data) {
  return request("Interface/recommendlists", data, "post")
}
// 获取新闻数据
export const getNewsApi = function () {
  return request('/news/index', {}, "post")
}
// 获取mock的商品接口
export const getListApi = function () {
  return request('/product/list', {}, "post")
}